package com.yc.project.dao;

import com.yc.common.util.DBHelper;

import java.util.List;
import java.util.Map;

public class FenleiDao {
    public  List<Map<String,Object>> selectfenleidish (String sort) {
        String sql="select * from gghc_dish where sort=? order by id desc limit 0,9";
        List<Map<String,Object>> list = DBHelper.selectListMap(sql,sort);
        return list;
    }
}
